//场景
export interface Itopic {
    //题目索引
     tidx : number,
    //时间限制
     time : number,
    //题目id
     topicId : number,
}
export interface IRdTz{
    // 答对题目数
    topicNum:number,
    //奖励类型 RewardType
    rewardType:number,
    //奖励数量
    rewardNum:number
}
export interface IGmaeSceneZtRes{
    topics: Itopic[];
    listReward?: IRdTz[];
    curNum: number;
}
//end

// 用户答题
export interface IAnswerTzReq{
    userId: string,
    tid: number,
    cid: number
}
export interface IAnswerTzRes{
    code: number,
    status: number, // 1 是答对 2 是答错
    tid: number,
    cid: number,
}
// end 

//用户答题超时返回
export interface IAnswerTzTimeOutReq{
    userId: string,
    tid: number,
}
export interface IAnswerTzTimeOutRes{
    cid: number
}
//end

//通知正确结果
export interface INoticeCurRes{
    tid: number,
    cid: number,
}

//复活
export interface IAnswerTzFuHuoReq{
    userId: string,
    tid: number,
}

//通知下一题
export interface INoticeNext{
    curNum: number,
    totalNum:number
}

//结算通知
export interface INoticeGameEnd  {
    isAll:number,//是否全部答对 1 是全部回答正确 2 是中间有答错的
    reward:{
        rewardType: number,
        // 奖励数量
        rewardNum: number,
    }
}
//end

//复活
export interface IFuHuoRes{
    code: number;
    tid: number;
}

//结束领取奖励
export interface IAsTzEndGetRewardReq {
    userId: string,
    beiShu: number
}
export interface IAsTzEndGetRewardRes {
    code: number
}
//end
